﻿using FreeSql.DataAnnotations;

namespace IKnow.Server.Data
{
    [Table(Name = "api")]
    public class ApiEntity
    {
        [Column(IsPrimary = true)]
        public long Id { get; set; }
        public string? Url { get; set; }
        public string? Title { get; set; }
        public string? RequestType { get; set; }
        public string? ReturnFormat { get; set; }
        public bool IsRequireParameter { get; set; }
        public virtual List<RequestParameterEntity>? RequestParameters { get; set; } = new List<RequestParameterEntity>();
    }
}
